md/raid1: handle activation of replacement device when recovery completes.