Senate votes to reopen the federal government, bill now goes to House