Theresa May has been mocked for claiming credit for an EU policy to protect consumers from rip-off payment card charges.