updated hashreduce elem and codegen to use IR blocks for buffer management
Merge branch 'wip-develop' of github.com:stanford-ppl/Delite into wip-develop