Fix MultiSegmenter when the offset gap is 0

This is pretty rare, but the randomized testing found it with at seed
4AB348D5E736BE9E:9930CF61AD110AEF.

Change-Id: I2e40040677edde2893a8b7a0f869162ea2634d30
Merge "Fix MultiSegmenter when the offset gap is 0"