Angela Merkel has ditched her open-door refugee policy to save her government