Crack path predictions in anisotropic structures considering residual stresses