Effect of weak disorder on the phase competition in iron pnictides