It took some creativity, but the Yankees and Cody Bellinger agreed to a contract that will make him one of MLB’s highest-paid outfielders.