storage_service: Fix failed bootstrap/replace attempts being persisted in system.peers
storage_service: Fix failed bootstrap/replace attempts being persisted in system.peers

Backported from:

ac46747 Fix failed bootstrap/replace attempts being persisted in system.peers (CASSANDRA-9180)

kjniemi/scylla,raphaelsc/scylla,duarten/scylla,duarten/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla,kjniemi/scylla,duarten/scylla,avikivity/scylla,kjniemi/scylla,avikivity/scylla,raphaelsc/scylla,avikivity/scylla,scylladb/scylla,raphaelsc/scylla