implemented IntervalPerVar.mergeWith (unit test still failing, Interval.join not implemented)