Change assert-iae to a function

`assert-iae` as a macro was breaking cljs assertions by always compiling the clj version within the macro.