Investors have become notably more hopeful about an eventual deal, a sharp reversal from previous months