Operator EDF said it would keep the sites open for longer to help maintain electricity supply over the coming years.