A large part of the National Firearms Act is now unconstitutional, a federal judge ruled Wednesday, in a decision that could erase registration requirements for sales or transfer of silencers and short-barreled long guns.