Lander, Brigadier General Frederick W., Union Army