Further clean up Path._getMonotoneCurves(), resolving some of the observed and commented code issues.