Parity or ECC in refresh operations