Reduce-reduce to Shift-reduce