On the effect of doping impurities on the formation of rod-like defects in silicon