genlib/roundrobin: fix n==1 case (correctly)