Remove typeof, in and instanceof from Scala ops.

Use the JS operators instead, and unbox the result.

This simplifies the IR by getting rid of 3 rarely used
operators. There will be no performance impact with unchecked
asInstanceOfs.