Large-scale inhomogeneities of the intracluster medium: improving mass estimates using the observed azimuthal scatter