District Judge Robert S. Lasnik ruled in favor of Washington, D.C., and 19 states that had filed a lawsuit against Defense Distributed.