Make use of removeChildNode function.

Rather than duplicating this code in the removeBlockNode function,
use the existing function.