Fix other part of Mac crash.
Fix other part of Mac crash.

It turns out that 'actual toolpaths' can be empty, and then the move won't work on some systems. (Or maybe it quietly failed on others.) So check if empty first and clear toolpaths if necessary.

CURA-7914

Ultimaker/CuraEngine,Ultimaker/CuraEngine