Nawaz Sharif tries to stem growing violence in Pakistan’s largest city, but a broader effort will be needed.