Invalid Line make distance function to crash
Created by: ocourtin
To reproduce it from PostGIS:
SET postgis.backend='sfcgal'; SELECT '#1957', ST_Distance(ST_Makeline(ARRAY['POINT(1 0)'::geometry]), 'POINT(0 0)'::geometry);
Should be robust enough to not crash with:
- single point line
- several points line but who's in fact are really the same redundant point (still invalid line so)