The two sides left Pakistan with no resolution to thorny issues like Iran’s nuclear program or its control of the Strait of Hormuz