The justices found in a 7-2 decision that federal law covers firearms kits.