Disallow reversal where lhs has higher or equal precedence

Fixes #267