The EU must show flexibility to secure a Brexit deal