cleanup doIntersectLines.py and fix #7021