Causal Effect Regularization: Automated Detection and Removal of Spurious Attributes