Robust distributed decision-making in robot swarms