Flatten module type expressions during module-preprocess