Update BySegment.js

Fix ModifyFeature BySegment to handle LineStrings