[[ Bug 13220 ]] Make sure we give Cairo a minimal path - if lineTo is fo...

...llowed by close and lineTo target is original moveTo of subpath, then ignore the last lineTo.