sets the tree
t
to null
t = setnull();