Microsoft appoints new head of legal