Increasing the efficiency of production of iron by means of reduction of harmful elements