Kerry admits Pakistan suffered greatly from terrorism