Swift’s May deal with Shamrock Capital marks the end of her years-long effort to regain control of her early albums.