EDF legal head quits after team revamp