Ousted PM resigns as president of UMNO party and chairman of ruling coalition after authorities issue travel ban.