AST: Improved astIsFloat handling of expressions