“If they cannot bear arms, if they cannot perform military duty, they at any rate can furnish a substitute, or pay the sum provided for, be that more or less.”