U.S. agency prepares for massive staff cuts in blow to legal immigration system