The US House passed legislation to fund DHS agencies and sent the bill to Trump to sign into law, ending a partial shutdown