Allen & Overy and Shearman & Sterling's leaders managed to keep their merger plans secret from most of the partnerships until just hours before the Sunday announcement.