The unprecedented moves leave the agencies unable to conduct even routine business and are likely to spur legal challenges.