Refactor SEQUENCEP and EXTENDED-SEQUENCE-P
Minor tweak to instance TYPEP transforms.

After (SETQ <x> (UPDATE-OBJECT-LAYOUT-OR-INVALID))
it is not known that <x> is a LAYOUT. But the call either
signals an error or uses CHECK-WRAPPER-VALIDITY
which *must* return a wrapper (a layout).