The protests mark the worst violence in the region in decades and are testing Pakistan’s military rulers.