Dislocation patterning in fatigued metals as a result of dynamical instabilities