Fix bug in reduceBlocks that occurred with workgroups per axis values other than 8.