Mallesons top tax man quits law