New Jersey, 18 other states and the District of Columbia challenged the Trump administration's mass dismissals at more than a dozen agencies across the country.