move_pages: clear old pointers after freeing