[migration] Fix 3.23.0 migration script, broken by a703f00718c2
* first query use "IN" where it should use "=" -> crash
* second query is missing an interpolation -> crash
* third query is attempting to remove constraint that have already been removed
by the second query -> crash
usr/lib/python2*/*-packages/cubicweb/dataimport/
usr/lib/python2*/*-packages/cubicweb/server/
usr/lib/python2*/*-packages/cubicweb/hooks/
usr/lib/python2*/*-packages/cubicweb/sobjects/
usr/lib/python2*/*-packages/cubicweb/schemas/
usr/share/cubicweb/migration/