BUG: Fix 0-d array special case from reductions.

This channels scalars through the usual reduction machinery and
modifies it slightly to correctly support scalar reductions of
identity-less ufuncs.
Merge pull request #3316 from seberg/issue-3314

BUG: Fix 0-d array special case from reductions.