transforms/remove_inter_assign: support names and dependencies