ctdTrim() improvements for 24Hz data

The problem was that the delta-p values can change sign even during the
descent phase, so code that previously isolated to just positive values
was swiss-cheesing the data.