Implement LogicSegment::get_surrounding_edges() and use it

No match.