[algorithms][disjoint] factor-out common functionality in disjoint_multirange_segment_or_box
and multipoint_constant_size_geometry; simplify implementation of disjoint_segment_areal;