Remove Ref typeclass

MVar and IORef have different semantics (MVar can be empty, IORef
can't), so this typeclass isn't all that useful. In addition, it's not
used all that much, and only to automatically liftBase!