grammar: detect reduce/reduce conflicts in a parser state

Signed-off-by: Peter Williams <pwil3058@gmail.com>