The economic case for closing 31 pits and putting 30,000 miners on the dole was "unanswerable", the government said. But public outcry forced them to order a review.