Pakistan court extends Imran Khan's bail on terrorism charges