fixed condition on wrong variable in delete_with_one_child in remove_baby()