Refactor treatment factor such that labels are derrived from the pairs instead of the treatment factors

Issue: GCP-9743
Reviewer: Dan Jao