Dynamical generation of a gauge symmetry in the double-exchange model