I think it has something to do with the control points on the tiny island where the line starts. I selected just the island, then select the island with the Shape Tool and changed the Line Joins to Rounded and the line goes away.