Linklaters leapfrogs to top of Spanish deals table as domestic firms tumble