Analysis of simple distillation by arc-length continuation: ternary mixture with chemical reaction