I think that in case of a tie, the House vote is done by state delegations, not simple majority vote. That favors Trump.
Got it, I was mistaken as another person pointed out