As of Drupal 7.14, the field_bundle_settings was split into per-bundle variables.

commerce_delete_instances() was loading the monolithic variable, unsetting relevant parts, and resaving it when deleting an entity type or bundle. This isn't necessary, as each individual variable can be deleted.