regedit: simplify cleanup after loading children