We show that a generic single-orbital Anderson impurity model, lacking, for instance, any kind of particle-hole symmetry, can be exactly mapped without any constraint onto a resonant level model coupled to two Ising variables, which reduce to one if the hybridization is particle-hole symmetric. The mean-field solution of this model is found to be stable to unphysical spontaneous magnetization of the impurity, unlike the saddle-point solution in the standard slave-boson representation. Remarkably, the mean-field estimate of the Wilson ratio approaches the exact value R-W = 2 in the Kondo regime.