Reduce objects in ason_type

ason_type would report strange results because it did not reduce before it
checked the type. Problem corrected.

Signed-off-by: Casey Dahlin <casey.dahlin@gmail.com>