The decision was a blow to Wyoming’s coal mines and their economic value to the state.