Change the underlying monad of InterpM to IO.

This is needed to support IO preludes in the interpreter.