Monadify typecheck/TcEnv: use do, return, applicative, standard monad functions