Remove trivial allocs

This PR gets rid of the dead allocations that can sometimes be created during the specialize_branched_loops pass. 
I didn't include this because I was only using this pass before inject_early_frees, which is the only place during lowering that Free nodes get inserted. But I've added it for consistency, and in case this becomes useful later in the lowering process.