Angela Merkel’s cap on refugees pleases her party but could hurt coalition talks