Self-Anchor: Large Language Model Reasoning via Step-by-step Attention Alignment