Set resid for data transfers less than expected