Major world powers and Iran have formally concluded a historic deal, the EU's foreign policy chief Federica Mogherini announced Tuesday.