Make array CTFE-able

also improve arrayAllocImpl, and bugfix + unittest
Issue 9803 - minimallyInitializedArray fails past "1D" depth