dm raid: enhance attempt_restore_of_faulty_devices() to support more devices