repair: Add do_rebuild_replace_with_repair
repair: Add do_rebuild_replace_with_repair

The rebuild and replace operations are similar because the token ring
does not change for both of them. Add a common helper to do rebuild and
replace with repair. It will be used by rebuild and replace operation
shortly.

avikivity/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla