remove incident edges after removing node