Fix IntervalSet.add when multiple merges are required