Pak Army has 2 main enemies - kaffir India, and of course the elected civilian political leadership of Pakistan, who have to be kept under control. If Pak Army is weakened in a clash with one, then the other may benefit and get the upper hand over them. It will always be in India's interest to see Pak's civilian leaders have the upper hand over the war-mongering Pak military.
The latest air strike by India destroying the Jaish e Mohammad camp, has had a jarring impact on Pakistan. The position and standing of the Army chief may have been weakened in the eyes of the lower ranking officers of the Army. As a result, he might not be able to gain an extension of his position in the future, when it comes up for renewal.
Imran Khan himself may have bolstered his own stature in front of his own people by offering to free Indian pilot Abhinandan to keep the peace. We of course see his act as the hollow farce it is - but in the context of Pak's military-civilian balance of power, what matters more is how the Pakistani people themselves see things.
If Pak Army chief is fearful for his prospects of being able to renew his term, he may seek to initiate more stunts against India (or against his other threat Imran) in order to save his own position. We should be watchful.