Crack dislocation interactions in ionic crystals with rock-salt structure