The talks were held during a daylong diplomatic mission to Tehran by Pakistan’s army chief and interior minister.