md: fix raid5 'repair' operations