Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same default value

Ticket: https://code.djangoproject.com/ticket/23738