The final objective in peace negotiations between Iran and the US is "just about to be achieved," Pakistani Prime Minister Shehbaz Sharif says.