Dominic: union, intersection and complementation of IntervalSets (not very efficient)