repair: Introduce check_failed_ranges helper
repair: Introduce check_failed_ranges helper

To check if there is any failed ranges and log it.

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