Irreversibility and Dislocation in Periodically Sheared Vortex Matter