Place the offending assembly on the anvil, then click on the anvil (not the weapon) and your weapon should break apart into its components.