Prefer interpolateNumber when coercible to number.

Objects that are coercible to numbers, such as Dates, are often more usefully interpolated as numbers rather than as objects. Related #1779.