What union general was appointed commander of the army of the potomac in 1862, but was later dismissed by lincoln because he lacked the stomach to commit his forces to battle?