Grammar refuses to reduce a production to terminal