Phase distortion correction in dual-comb ranging system