With a Migrant Crisis Looming, the EU Should Learn from its Past Mistakes