Freshfields, links bag biggest-ever aim deal