Both 'our' Kirk and Mirror Spock knew the Mirror Halkans were toast. Once Mirror Kirk was back in charge, that was inevitable. But Mirror Spock also knew he had Mirror Kirk's ear, and that was all he needed to begin to make changes. Even something as pragmatic as getting Mirror Kirk to spare some Halkans, maybe a city or two worth, to work the mines was doable. Using local labor is always cheaper.