Redeposition during ion-beam erosion can stabilize well-ordered nanostructures