[disjoint] new implementation for segment-box intersection that does not use numeric_limits