US Vice President JD Vance has departed Pakistan after unsuccessful talks with Iran.