Gold rises 0.8% as stocks surge on Iran deal stall