LinkedIn hires former Yahoo legal chief as its new general counsel