transforms/inline: offload some work to remove_inter_assigns/remove_dead_code