How to make the EU’s migration pact more humane