Fully-automatic firearm