Germany’s leader has agreed to shoulder some of the burden, but four “frugal” EU states are unhappy.