Update merge_intervals.cc