Improved Lem backend to Herd.
Merge branch 'master' of https://github.com/herd/herdtools