Use uninitialized_array in the union used in accumulate's
implementation.

Fixes #18