Barclays is planning to withdraw from parts of the metals, agricultural and energy markets, echoing moves by other major players…