Both chambers of Congress have now voted to end the longest-ever federal shutdown, sending a funding bill to reopen the government to President Donald Trump for his signature.