Pakistan's former premier gets pre-arrest bail in terrorism case