Inventor HSM lets you control when you want to keep the tool down by setting Maximum stay-down distance which reduces the number of retracts. This setting is located on the Linking tab.
Maximum stay-down distance
Enabling the Keep tool down check box and regenerating the toolpath operation shown below, produces the following results.
A 2D Pocket toolpath with a "short" and a "longer" stay-down distance