Hypothetical :
There is a greater chances of pakistan having territorial issues in their western border than on their eastern border. It is just a matter of Iran and Afghanistan settling down. Iran with its negotiations with Americans and Afghanistan settling down on their internal issues.
If this isis threat continues unchecked, pakistan is likely to react by giving first presence to protect Sunni dominated areas of Pakistan.
Iran's hand will be forced to protect the Shia dominated Baloch.
As far as afghans are concerned, dispute over Durand line is yet to start. Dispute will not be about the region per say but about the control over poppy production in the area. This is far fetched ofcourse, afghans have to settle down first, of which there are no hints yet.
India need not even get involved in both the stated scenarios, both the scenarios are on cards it is a matter of when.