I agree that keeping nuclear would have been the right choice, but it is also easy to see why it was politically impossible.
After years of public debate and negotiations nuclear was accepted as a bridging technology just a couple of months before Fukushima happened. Fresh in the publics mind on already extremely shaky ground Fukushima sealed the fate for the existing nuclear plants.