Controlling trace impurities in a dividing wall distillation column