“This illegal firing undermines the office that investigates whistleblower disclosures of wrongdoing and enforces the law meant to keep partisan politics out of the federal workforce,” wrote one watchdog group.