The bill now goes to President Trump's desk.