The Magnetohydrodynamic Response of the Magnetospheric Cavity to Changes in Solar Wind Pressure