Realignment of the flux-line lattice by a change in the symmetry of superconductivity in UPt 3