remove edge and neighbors