BUG: fix zero initialization with subarray dtypes

closes #3724
Merge pull request #3735 from juliantaylor/fix-subarray-zeros-1.8.x

Backport PR 3725