Fix IntSet.add to a) work correctly. b) be slightly cleaner.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>