Raise NotImplementedError for reductions with empty localarrays.

Temporary fix for reduction edge cases.  Better solution coming.
Style tweak.
Simplify conditional.
Merge pull request #400 from enthought/bugfix/reduce-with-empty-locals

Fix reduction bug with empty LocalArrays.