Adaptive Circuit Behavior and Generalization in Mechanistic Interpretability