U.S. stocks recovered from overnight losses to touch new records midday Wednesday, after remarks by President Trump suggested the U.S. and Iran were refraining from further military action in the aftermath of attacks on U.S. bases overnight in retaliation for last week’s killing of Maj. Gen. Qassem Soleimani by American forces.