Fix issue in recent Path.Line constructor optimization.

Line paths should not be closed.