What lesson did this battle teach both sides about the Civil War, especially President Lincoln and the Union?