John Dormer, 12th Baron Dormer — (1830-1900), Soldier