Dislocation shielding of a cohesive crack