Merck & Co. Inc. is shelling out $1.3 billion in cash up front to acquire privately held Eyebiotech Ltd., gaining rights to the latter’s pivotal trial-ready diabetic macular edema drug and a pipeline of earlier-stage candidates targeting vision loss. An additional $1.7 billion could follow in development, regulatory and commercial milestones, raising the deal total to $3 billion.