The legislation funds large swaths of the government for the rest of the fiscal year, but only extends financing for the Department of Homeland Security until Feb. 13