Delete nodes which have a greater value on right side