Barclays PLC is shutting its research unit in Brazil and trimming headcount in the country as part of a global restructuring.