EU deal struck to curb card transaction fees