Merkel agrees to tougher migration policy