refactor(library/standard/set): use the same style for mem_inter and mem_union

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>