[TOMASTER] Use Set's .add() return code

In many places a .contains() test was done before attempting to .add(); which is
not needed.

Simplifies the code in quite a few places.