Distillation of water-N-methylimidazole system