fix critical bug

*reduce/reduce-conflict resolution was probalistic
*depending on random order in a hashtable we sometimes
 got an error entry instead of an correctly resolved conflict