pw_kvs: Don't count redundancy configuration updates towards errors

Don't count the new keys written as part of a redundancy configuration
change.

Change-Id: I9cae2cbde33718a091679dde318ff20b23a2c18f
diff --git a/pw_kvs/key_value_store.cc b/pw_kvs/key_value_store.cc
index 857db8e..1f3737e 100644
--- a/pw_kvs/key_value_store.cc
+++ b/pw_kvs/key_value_store.cc
@@ -84,10 +84,14 @@
     initialized_ = InitializationState::kReady;
   } else {
     if (options_.recovery != ErrorRecovery::kManual) {
+      size_t pre_fix_redundancy_errors =
+          error_stats_.missing_redundant_entries_recovered;
       Status recovery_status = FixErrors();
 
       if (recovery_status.ok()) {
         if (metadata_result == Status::OUT_OF_RANGE) {
+          error_stats_.missing_redundant_entries_recovered =
+              pre_fix_redundancy_errors;
           INF("KVS init: Redundancy level successfully updated");
         } else {
           WRN("KVS init: Corruption detected and fully repaired");