UN plans pullout from camps