Effect of impurities on the chemical non-equilibrium nozzle flows