Issue 11421 - Dynamic array of associative array literal type inference

https://issues.dlang.org/show_bug.cgi?id=11421

This is a first step to clean up semantic analysis code for initializer.