Daily Mail publisher splits legal function following departure of legal director