The agency had been planning to eliminate more than 2,000 positions before the lapse in federal funding, but a federal judge blocked the move.