Boundary integral equation method to solve embedded planar crack problems under shear loading