The Department of Homeland Security said that conditions had improved enough to send Yemeni immigrants home.