US Congress approved funding for most of the Department of Homeland Security, ending a 75-day partial shutdown.