Test IntervalIndex.slice_locs