genlib/roundrobin.py: fix n==1 case