Improve fading effect when painting dead ends

When the end of the maze is found, shuffle together nodes and walls in
remaining dead ends and repaint.