Voters are punishing Angela Merkel for her pro-migration stand. Can Theresa May avoid her fate?