Each should guess whatever would make an even number of red hats. That makes it a 50% chance they're all wrong, and a 50% chance they're all correct -- thus consolidating all their "rightness" into a single block of probability.
For this to work, however, you'd have to know the exact expected probability of each hat (and if it was even or odd), which is improbable.