The UPMC-Highmark contract dispute lasted eight years, but the agreement signed June 24 — seven days before the scheduled final separation of the two Pittsburgh health giants — came together in a matter of a few weeks last spring, a top UPMC official said Tuesday.