Tesco announced that its corporate affairs director Rebecca Shelley is to leave the retailer next month.