To remove the child tree from each page individually, add this jQuery user macro through Confluence admin panel.
## @noparams <script> AJS.toInit(function() { $("#children-section").css("display","none"); }); </script>
To remove the child tree from a specific page, edit the page and insert this macro from the Other macro selector.