codegen for EX_AND, EX_OR, and EX_IIF and fix mathfun_dump