during what battle did the casualties exceed twice the number of men killed and wounded in the war of 1812 and war with mexico combined?