Crack arrest in Si3N4-based layered composites with residual stress