[FOLD] Remove unused and buggy trimIP