Remove in line controlpoints in a curve

I often use the command CurveBoolean to create outlines of multiple sets of curves to extrude them as solids. But this results sometimes in some excessive controlpoints on the curves.

Is there a quick way to remove (multiple) controlpoints that are in line in polycurves (Degree=1)?

In the example the black curves are the original curves, the purple curves the result of CurveBoolean. The control points with the red circles around them are excessive.

Hi Kevin, you may try _SimplifyCrv

Thank you Jess!

It works like a charm.