Revert handling of linear segment reseting, as it broke some rare boolean tests.