Remove trivial allocs

This PR gets rid of the dead allocations that can sometimes be created during the specialize_branched_loops pass. 
Is there a Free visitor missing? I'm not clear on how those are handled.