Romania had tried to avert a total shutdown of the plant, which usually generates a fifth of the country's electricity.