Problem Definition
The NettingChannelLibrary has the settled attribute for the settled block. But at the block where we settle, the contract also performs a self-destruct, so this attribute is utterly useless.
Solution
Remove it and all references to it.