Government trials Tasers and reviews protective gear as assaults on staff, homicides, and deaths surge in overcrowded prisons.