bug-fix: move trim out of complete

- if an assignment test is deferred and is technically complete
  and then reinstated for further typist activity, the trim()
  applied prior to test_entry and sibling comparison prematurely deletes
  unused daughter entries
- move the trim() to just before adjudication data are required
  and change the comparison method to not assess test_entry daughter
  entry counts