It would go pretty fast in the SCOTUS. Not unlike the Florida recount.
There would be no equal protect argument of sorts since it would be subversion of the US Constitution by the offending states.
In effect, I could see the argument of them giving up their statehood.
Which John Roberts would show up? The one who ruled against Gore or the one who ruled for Obamacare?
The converse is Trump has huge popular vote win and state like California that went for another have their votes turned for Trump. PayBack.
But still know SCOTUS will fix this.