Fixed #5770 (AST: better handling of 'a.b[c.d]==0')