While it is never possible to strictly prove causality in historic matters, I note that progress against raiders across the Pakistan-Indian border correlates with the removal of Ashfaq Kayyani from power. First as head of ISI, later as head of Armed Forces (and de facto ruler of Pakistan) he sheltered, succored and funded these terrorists.