A federal judge in Delaware has ruled the state’s ban on possessing unserialized firearms and the private manufacturing of guns violates the Second Amendment, while keeping in place the state’s laws that forbid the dissemination of computer-aided design files or other code or instructions used in 3D printing gun parts.