Fix a very rare case of corruption in compression used for internal cluster communication.

See CorruptedCompressorTests for details on how this bug can be hit.