The president has no authority to dismiss the charges. He may, under article II section 2, pardon them under his presidential pardon powers. He may do so at any time before or after trial during his presidency.
PRESIDENT BUSH. UNDER ARTICLE II SECTION 2, PARDON OUR WARRIORS!