Let's send in Janet Reno to solve this.
Pol-i-Charki prison is only a few kilometers from the Main Afghan National Army Base, where the Corps HQ is for the Captol Region. The Prison itself is very strongly built - it is where the former communist Afghan Regimes and the Soviets used to send the political opposition. It is the Afghan version of Moscow's Lubyanka. If those rioters did not escape in the initial ruckus, and the ANA already has the place surrounded, its all over except for the deliberate crushing of resistance. One traditional way of doing this in Afghanistan is to flood the place with fuel and light it up, but thankfully those days are probably gone. A lot of the same fellows who used to fight like that will be conducting the operation to reassert control, so there is unlikely to be much hand wringing about shooting some, or a bunch, of these inmates.
Muslims riot.
Dog bites man.
What's new?
Tear gas.. and lots of it.
We're waayyy more reluctant to burn down a prison full of America-hating people who yearn for the dark ages than the Clintons had about burning down a Texas church...
Then, the attitude was, "They asked for it..."