The independent inspectors general at government agencies say in the lawsuit that they play a critical, nonpartisan role overseeing trillions of dollars in federal spending and the conduct of millions of federal employees.