Shearman picks up allianz’s AGF buyout