British Airways owner International Consolidated Airlines Group (IAG) has seen shares lift after it scrapped a deal to buy Spanish carrier Air Europa.