Pakistani court upholds arrest warrant for former prime minister