Certified GKH Gardening Expert
Pruning like this won't be a trim, unfortunately. This type of regenerative pruning needs to be done carefully. You will want to remove anything that you cut, all of the way, down to the ground. If you want the segment to stop sprouting towards the path, then you can dig out portions of the root mass closest to the walk.
This article will help: