This commit forcibly rebuilds the PBVH whenever the number of verts is changed by an operation, additionally, the related deform variables are freed when undoing geometry steps now to ensure data remains consistent. Pull Request: https://projects.blender.org/blender/blender/pulls/128145