Only perform the cuts when zig_zaggify_infill is checked.
Only perform the cuts when zig_zaggify_infill is checked.

Over extrusion is only a problem when connected lines is enabled. No
need to perform the calculations otherwise.

Contributes to CURA-7115

Ultimaker/CuraEngine,Ultimaker/CuraEngine