The resurgence of terrorism in Pakistan's wild west has complicated Sharif's already difficult job