The ‘generals’ elections’ that turned against Pakistan’s military