Remove previous vertex again if almost exactly straight
Remove previous vertex again if almost exactly straight

If it's almost exactly straight, we don't want to remove the vertex that makes the straight line longer. We want to remove the in-between vertex that doesn't make the path any different.

Contributes to issue CURA-5924.

Ultimaker/CuraEngine,Ultimaker/CuraEngine