Correct the HyperLogLog stale cache flag to prevent unnecessary computations.

Set the MSB as documented.
HyperLogLog regression test for issue #1762.