Article 2 Section 1 envisioned exactly the situation we have now.
It merely needs to be followed to the letter.
Republican state legislators elect Republican electors.
Republican Congress (one vote per state, so Republican majority) accept the Republican electors.
Trump/Pence is re-elected.
Game, set, match.
Easy, peasy.
This process was stress tested in the real world in the Election of 1876.
Republicans just need to find their spine—somewhere. :-)
Republicans just need to find their spinesomewhere. :-)
************
Ironically (but not surprisingly) they are the impediment to their own success. They are a bunch of jellyfish that drift with the currents.