Brazilian airline TAM plans to merge with Chile’s LAN