The German parliament passed a motion to tighten migration rules after a deadly attack by a rejected asylum seeker. CDU leader Friedrich Merz refused to shun the help of the far-right AfD to secure the vote.