Why did the British agree to a peace treaty that affirmed the status quo , despite the fact that they were winning the war ?