Core: Remove unnecessary index removal on index creation

After one of the refactoring we started to remove index immediately after index creation instead of only on index creation failure.