Britain's ageing nuclear reactors, which were due to close in the next decade, are set to be kept open under a plan approved by the industry's regulator.