Ex-Pakistan PM Imran Khan says arrest bid aimed to jail him before elections