Tyco to split global legal function three ways