Electromagnetic stabilization of tokamak microturbulence in a high-beta regime