Why bother sto-pping the riots?
Clear the guards out of harm's way, and let them go at it. It's the best way to clean up some of the over crowding, IMO. They are all basically useless. They are a high dollar burden to the Kalifornia tax-payers, and the costs of getting new guards each year goes up and up.
One needs to observe the decorum [with the same result, of course].