Make hoisted lambda calls in IR code easier to read
Add optimising stage that removes redundant variable assignments
Remove TODO
Fix bug in rrs stage that would cause only the first redundant assignment to be removed