Change a very strange code in m_demote() to simple assertion.

Sponsored by:	Nginx, Inc.
Satisfy assertion in m_demote().

Sponsored by:	Nginx, Inc.