core: fix the merging of identical objects in presence of Misc objects

If object A contains B + I/O as children, we can "ignore" I/Os and still
try to merge A and B. We now do the same for Misc objects without cpusets
instead of I/Os.

This fixes a corner case when export/reimport to XML creates a slightly
different topology (making hwloc_insert_misc fail inside a Linux cgroup).

Thanks to Dave Love for reporting the problem.

Fixes #118
tests: relax assertions in cuda/nvml/opencl/mic tests

When running inside a cgroup, the affinity reported by Linux
ignores the cgroup while hwloc reports affinities restricted
to cgroups. Relax assertions to avoid failures in this case.