How did the battle affect the British perception of American resolve?