Learning Robust Classifiers with Self-Guided Spurious Correlation Mitigation