Fix Issue 11485 - [e2ir] Error in e2ir at numeric/bool to class/interface cast