How did the battle affect Andrew Jackson’s political career?