[Refactoring] checkNonAssignmentArrayOp
fix issue 13497 remained case

`AssignExp::semantic` should handle cases in both valid and invalid array operations.
fix Issue 12381 - [ICE] An internal error in e2ir.c while casting array ops
make typedef an error
Merge pull request #4011 from 9rnsr/fix_arrayop

[REG2.065] Issue 13497 & 12381 - fix remaind e2ir ICE around array ops
Merge pull request #4029 from WalterBright/typedef-error

make typedef an error
[Refactoring] Remove goto jumps
fix Issue 11888 - Incorrect behaviour taking slice from return value