Ensure endss is truncated if needed in ol.geom.flat.deflateCoordinatesss
Allow geometries to have null coordinates and add setFlatCoordinates