Barclays announced plans on Thursday to eliminate roughly 5,000 positions—representing about 5% of its global workforce—by…