Trump put his reputation as a dealmaker on the line with a high-risk vote, then called it off at the last minute.