Merged from 17.3 release:
Implemented fix for erroneous validation messages when the soil layer has its start- and end point defined on one side of the surfaceline:
- Added function in Math2D to convert line points to segments with one added segment to close the gap between start- and end point
- Added testcases for the validator
Related to Issue [
WTI-1592]