Pakistan’s military enjoys a wave of popularity following clash with India, but analysts warn the surge may be temporary.