Critical talks aimed at preventing the collapse of a nuclear deal with Iran are set to resume in Vienna after a five-month hiatus.