Return intersection of RANGE1 and RANGE2. RANGE1 and RANGE2 have to be sorted over <. (fn RANGE1 RANGE2)