Replaced transform-label-trace-non-looping and transform-mp-tail-trace-non-looping

These functions are doing the same, so they were by one function called transform-trace-non-looping