Effective gauge symmetry in supersymmetric confining theories