Optimization Algorithm of Crack Initial Angle Using the Extended Finite Element Method