EU pledges billions of euros for Egypt as it seeks to curb migration