The general counsel and company secretary of John Lewis & Partners are both exiting the firm, amid the latest shake-up of the top legal roles at the business.