Manually inlining foreach traversal inside the IntSet.insert operation.