This is the inverse of bug 27753. While 27753 says we should be able to automatically resolve a claim when checking in an item, we should also be able to automatically mark an item as returned when resolving its claim.
(and if we do mark is as returned, there will be cases in which the effective return date should be the resolution date and other cases in which the effective return date should be the claim date)