Compiling Coq generated for multi-monads