remove free standing branches (dots in the network graph)