A&O Shearman secures major refinancing deal