Taliban deputy says he carried out Pakistan attack