Fix transform for ordinal→quantitative scales.

Previously, invalid transform attributes were being set for an
ordinal→quantitative scale transition, because entering ticks were
undefined in the old (ordinal) scale, and exiting ticks were undefined
in the new (quantitative) scale.

Fixes #1620.