Unify NULLIF scalar, IFNULL and IF argument type resolution to picking.

IF, NULLIF, IFNULL and COALESCE all be have the same (with respect to argument types) now.

Depends on FoundationDB/sql-parser#159
That's a date coalesced to a double?