Financial transaction tax faces collapse after EU legal challenge