A rate-independent gradient system in damage coupled with plasticity via structured strains