At least 40 percent of employees are expected to be terminated at the federal mortgage insurer, an agency within HUD.