Grain-Boundary-Mediated Failure in Polycrystals