Simplify check for assignment to lvalues