Memory optimizations around clearing Instance data after a tree is
trained.