More better fix for issue 5498

The root issue is in typeMerge function.
[Refactoring] Improve error propagation in arrayExpressionToCommonType
[Refactoring] Prevent storing ErrorExp in exps
fix Issue 8309 - ICE in typeMerge on 'void main(){auto x = [()=>1.0, ()=>1];}'
Merge pull request #3477 from 9rnsr/fix8309

Issue 8309 - ICE in typeMerge on 'void main(){auto x = [()=>1.0, ()=>1];}'