Correct bug in HashMap[K,V], avoid infinite loop if a % b < 0.