Javadoc
Reduce the sequence to its simplest form. If the value is an empty sequence, the result will be
EmptySequence.getInstance(). If the value is a single atomic value, the result will be an instance
of AtomicValue. If the value is a single item of any other kind, the result will be an instance
of Item. Otherwise, the result will typically be unchanged.