ENH delete empty nodes, strip function tags
ENH force rst_dt.ptb to output clean trees