And how would you prevent this? The flip side of nuclear's stability at high loads over long term is that the economics are all built around running at high load. If they lose major customers to cheaper competition, they can no longer operate profitably.
Institute carbon pricing and nuclear will be competitive. Solar can only deliver 40-50% of overall demand because the rest of the energy consumption happens at night. If the carbon costs are high enough, solar + gas will be more expensive than nuclear.
By internalizing the cost of pollution, specifically, a carbon tax (though also a methane tax and a mercury tax).
I don't know if nuclear plants are covering the costs of storing spent fuel, but they should, and coal and natural gas plants should have to pay for the crap they release into the air.
Markets will only allocate resources appropriately if you internalize externalities. I can't think of a case where doing so is the wrong decision.