The bill passed the House by a vote of 218 – 213, despite a conservative revolt that almost killed it in a procedural vote.