A Granger-Causal Perspective on Gradient Descent with Application to Pruning