EU chief Ursula von der Leyen said Morocco was “an important strategic partner” in stopping illegal migration as Europe looks to tighten its borders.