Dimensional analysis with the standard cgs or SI dimensions will not reveal the nature of where the $4\pi$s ought to go. Instead, you have to use an extra dimension, which turns the $4\pi$ into a variable, which becomes either $4\pi$ or $1$, according to the system.
I use the 'rule of substance' here. It is in my physics pdf, but i shall describe it here.
Space, time, fields and fluxes of all kinds, potentials of all kinds, are not substances, and are left unaltered.
Mass, and mechanical quantities with Mass in the dimension (forces, energy, pressure, density, power), charge, dipoles of all kinds, and their respective densities, capacitances and conductances, susceptances and susceptabilities, are quantities of substance and represent a dimension $S^1$.
Resistances and inductances represent a dimension of $S^{-1}$.
In order to change a formula, you tick the substances in the equation, and cross the inverse substances (ie $S^{-1}$). If there is an inbalance of ticks and crosses, this is corrected by a ticked $4\pi$ (cgs->si), or cross $4\pi$ (si->cgs).
So in the equation of the question: $H=B-4\pi M$
$H$ is a field, and thus not a substance. Likewise $B$ is a flux density, and is also not a substance. The $M$ is a magnetic polarisation and is thus a substance. To counter the imbalance of the substabce dimension, you need to divide the $M$ by a 'ticked $4\pi$', which cancels out the $4\pi$, giving $H=B-M$.
This can be done at reading speed.