The EU faces sweeping changes to the way electronic services are taxed after Luxembourg agrees to make a deal