Several things going on here.
First, I assume your controller can handle arc moves (G2/G3).
The four lines of your code here
are the actual square, the rest appear to be the approaches. Looks like you have 1/4" arcs set plus an additional 1/4" straight section. By default, VM does not have circular arcs turned on. So all that is divided up into straight segments. First, go into preferences, machining preferences. Make sure all three top checkboxes are cleared.
Check your operation entry/exit tab to change the approach parameters if desired.
For other similar operations, it may also be helpful to go to the last tab in parameters (Advanced Cut Parameters), check the box "cut arc fitting" XY plane and put in a tolerance about the same as your main operation tolerance, which will try to fit a maximum of arcs to your linear moves if possible. Works OK, but it's not perfect. --ch