Validate a type name.
(valid-tyname tyname table ienv) → (mv erp new-tyname type return-types new-table)
A valid type name denotes a type, so we return a type if validation is successful.
First we validate the list of specifiers and qualifiers, which returns a type if successful. Then we validate the optional abstract declarator, which returns a possibly refined type. We return the latter type.