Add deletion function for AVL tree