More than 400 people at the Department of Homeland Security are preparing for layoffs as the Pentagon braces for potential cuts.