minirst: remove unused function decorateblocks()
It was added at
ee6988aea74e "minirst: add decorateblocks search helper",
but it's been unused since then.
minirst: make format() simply return a formatted text
It's a source of bugs to change the type of the return value conditionally.