Fired head of federal watchdog agency says he’s ending his legal battle over his removal by Trump