rug out from underneath, pulling the

(informal) removing the support of (a theory, etc.).