Fix FlexibleHashMap.

Turns out there was a #define in Array2DHashSet trying to work around
the same problem that was already solved in FlexibleHashMap (except
Array2DHashSet made FlexibleHashMap not work).
And still more PredictionMode fixes.