What was the immediate effect of the battle on the Confederate Army?