Residual stress effects in sharp contact cracking