refactor: more cleanup of pathOrderOptimizer (CURA-1170)
refactor: more cleanup of pathOrderOptimizer (CURA-1170)

alephobjects/CuraEngine,Ultimaker/CuraEngine,ROBO3D/CuraEngine,ROBO3D/CuraEngine,Ultimaker/CuraEngine,totalretribution/CuraEngine,ROBO3D/CuraEngine,totalretribution/CuraEngine,alephobjects/CuraEngine,alephobjects/CuraEngine,totalretribution/CuraEngine