Fix bug in polygon intersections

There was a bug in the latest fix for polygon intersections: advancing x3, y3 to x4, y4 should be done for *every*
 polygon edge, even if that edge was parallel to the segment or line being tested (d == 0). My apologies for not testing the original fix better.