Edinburgh University to appoint first head of legal services