A simple route to annihilate defects in silicon nanowires