Delete nodes from BST

Not passing all the test cases. Is there anything I am missing?