coll/ml: set n_resources to 0 when destructing an lmngr

Also keep track of the allocation base so we free the correct pointer
when cleaning up.

cmr=v1.8.2:reviewer=manjugv