The package to fund agencies including ICE until the end of Trump's term had face Democratic opposition over immigration agents killing two US citizens.