Mitigating Spurious Correlation via Distributionally Robust Learning with Hierarchical Ambiguity Sets