Generalized Linear Mode Connectivity for Transformers