Refactor BoundTreeBuilder to prepare for bound tree updates during lowering phases