The company’s stock prices plummeted following the announcement because the transition plan lacked detail, according to one analyst. But staying in the coal market would have been much worse.