The suit, which was initially instituted by attorneys general of 16 states, sought the scrapping of the anti-graft agency.