add decompose methods for new comparisons (#8463)

See https://github.com/JuliaLang/julia/pull/8463