Strikes against the militants carry the risk of retaliation against the Pakistani military.