The Senate voted to fund most of the government through the end of September after Trump made a deal with Democrats to carve out Homeland Security funding.