fixup client: purge objectset before putting inode

Strictly doing a put_inode before the purge is problematic
because the inode destructor requires the objectset to
be empty.