aa9897d932
When we hit a self-intersection, we need to be careful that we don't
lose the stop vertex.
Fixes: lp:1833819
* https://bugs.launchpad.net/kicad/+bug/1833819
(cherry picked from commit 6d60b98dc8)