GEP-80: bug in inserting vertex when edges of polygon cannot intersect: check both edges of newly created vertex.