Without knowing the intimate details of the contract, I'd be very surprised if they haven't built some sort of eventuality into it for just that.
The Strike Price and cost of the electricity were major points of public debate. EDF have also published an expected reduction in revenue. Companies do not like doing that - it affects their share price. Had EDF an easy way of simply making up the money by reneging on the agreed contract, they would do so.