Fix self-assignment type mismatch detection

(7d365ded regression)
parser: Check for self-assignments when parsing BOPs for disambiguation