TOKYO — Japanese officials announced Sunday that the cooling system at a second nuclear reactor crippled by Japan’s devastating earthquake had failed completely, even as they took the extraordinary step of flooding a separate reactor with seawater in a last-ditch effort to avoid a nuclear meltdown.