Make RedisQueue::migrateExpiredJobs atomic (fixes #4912)
Cleaning up of various redis migration code.