Pakistan's former prime minister was examined after the Supreme Court ordered authorities to allow access to a private medical panel