ALMATY—A Russia-led military bloc began pulling its troops out of Kazakhstan on Thursday after a week-long deployment during the worst bout of unrest in the Central Asian nation’s post-Soviet history. Kazakh President Kassym-Jomart Tokayev asked for assistance from the Collective Security Treaty Organisation (CSTO) last week after initially peaceful protests, triggered by a sharp increase in car fuel prices, turned violent in many big cities. “Thanks to your arrival, Kazakh military and security forces were able to carry out their immediate task of locating and detaining bandits,” Kazakh Deputy Defense Minister Mukhamedzhan Talasov told CSTO troops at a departure ceremony in Almaty on Thursday, where they stood with their respective flags. The Russian group was the most numerous. The Kazakh authorities announced the completion of what they called an “anti-terrorist operation” in most of the country on Wednesday, although they have yet to declare its biggest city Almaty fully secure. …