Issue 13382 - [e2ir] compare string to int - leads to ICE in e2ir.c 1902

https://issues.dlang.org/show_bug.cgi?id=13382
After almost 600 lines of "else if", I think it would be nicer to keep checking for the type first (`else if (t1->ty == Tarray) {...} else if (t2->ty == Tarray){...}`). If you put the operator test into a small helper function, there won't be much repetition. Or use `else if (t1->ty == Tarray || t2->ty == Tarray)` as it is already done for classes and structs.