Could a function be added to ST_GEOMETRY to remove the M-dimension from a geometry?
Similar to SDO_GEOMETRY's CONVERT_TO_STD_GEOM function:
SDO_LRS.CONVERT_TO_STD_GEOM
Converts an LRS geometric segment to a standard SDO_GEOMETRY line string by removing measure information.