Fix assertion

* src/encode.c (package_merge): Fix assertion about remaining number
of non-singleton trees uppon Package Merge completion.