ssa.c: Avoid rejoin from not directly connected nodes to core.