House Republicans tweak Trump bill to win final votes