fix #9214: canonicalize CompoundPeriod
Merge commit 'refs/pull/origin/9217'

Conflicts:
	base/dates/periods.jl