A strain-gradient isotropic elastoplastic damage model with J3 dependence