Optimize join.

Since we automatically mark line ends as junctions, it’s not possible for a
neighbor to be null and thus we can use equalPoint to compare.