The bill now heads to the Senate, where careful deal-making by GOP leaders over the past month is expected to assure its passage.