The bill now moves to the Senate, where Republicans will need some Democratic support to get it over the finish line.