Viscosity of suspensions modeled with a shear-dependent maximum packing fraction