Pakistani court dismisses contempt case against former Premier Imran Khan