Monadicity of extensions of essentially algebraic theories