Undrained Stability of Ring Foundations: Axisymmetry, Anisotropy, and Nonhomogeneity