A dynamic discrete dislocation plasticity model for the study of plastic relaxation under shock loading