Shearman, Wachtell acting on Merrill Lynch takeover