The point about militia is a short statement for why the right to bear arms is important, rather than trying to restrict or qualify the right.
The ability to form militias is so important, that everyone should have the right to bear arms, in order to enable this.
The idea is that it prevents the idea of a "special militia" having some selection criteria, so the government of the day cant make qualifying for its group a requirement to own guns.
I agree, that clause is there to explain why. To my eye, Madison appears to have been thinking mostly about state militias versus a standing (national) army. We obviously don't muster any of those today, I suppose the closest we come is the National Guard.
The ability to form militias is so important, that everyone should have the right to bear arms, in order to enable this.
The idea is that it prevents the idea of a "special militia" having some selection criteria, so the government of the day cant make qualifying for its group a requirement to own guns.