During a contingent election in the House, each state's delegation casts one en bloc vote to determine the President, rather than a vote from each representative. You have unfounded faith in so called never trumpers. The number of Republican States was greater than Democratic states. This is the same flaw as the electoral college giving rural states more power
Trump was hoping to create chaos, demonstrate fervent support from followers, and backing from many legislators, and the military: A non-violent, antidemocratic coup.