Simplify end-of-subtree logic

Use `outline-end-of-subtree` rather than worry about manually finding the equivalent subtree.

Logic worked however Outline-mode can do the work for me.