The measure was thwarted on a tie of 212-212, with a small bloc of Democrats joining nearly all Republicans in voting not to advance it.