Fix formatRange and formatRangeToParts type checks
Fix formatRange and formatRangeToParts type checks

The specification for formatRange and formatRangeToParts didn't check that
if a Temporal object was given as one parameter, that the other parameter
was also a Temporal object of the same type.

The polyfill did check this, but incorrectly.

js-temporal/temporal-polyfill,js-temporal/temporal-polyfill,js-temporal/temporal-polyfill