Fix LT-15233

Make sure the Segment instances reference new analysis targets,
when only changing case of the wordform in the WFI, and
where the case is to remain in the text.

Change-Id: If29397076c710959ffa0c97e6212bc4c07557e0f