Implementing PositionMap::toOriginalInterval() using two Gaps objects.