Nonlocal integreal formulation for a plasticity-induced damage model