Remove Map::cleanup and Painter::cleanup

Both were noops.

cc @kkaefer