..as per the Army's comment, they are just neutral and non partisan. I think that may be true because they did not
have to get involved (in this case) even if the outcome is what they desired. Imran did not have majority and in such cases opposition rally around like opportunistic vultures in developing democracies.
In Canada, even the centrist Trudeau has not had majority for two terms now. But he will not loose control because the left and right cannot possibly ally with each other because of principles in policy. In developing countries however, such distinction does not exist. So what happened in Pakistan is very possible without military having to get involved