When modifying the topology in dyntopo, the persistent base created for
the previus mesh state will become invalid, so it needs to be freed.
This can be considered again after merging the dyntopo updates. Ther
persistent base in dyntopo could become a datalayer and preserved during
the topology modifications, like vertex colors and face sets.