[procedure] extract-condition condition type

SRFI-35: Returns a condition of the condition type type with the field values specified by condition. Condition must has the type type.

(If condition is a compound condition, each field value is extracted using the same rule as condition-ref---i.e. if the components of the compound condition has duplicated field names, the first one appears in the argument list of make-compound-condition effectively shadows the rest.)