Returns the greatest lower bound.
Interval glb(Interval i) => new Interval(Math.min(min, i.min), Math.min(max, i.max));