Interaction between cracks and rigid-line inclusions by an integral equation approach