Shares have surged in Asia, with benchmarks in Japan and South Korea setting fresh records, after the U.S. and Iran signed their initial agreement ending the war. Oil prices fell.