The nine-year veteran arrives under contract through 2027 to bring elite defense to a Yankees lineup chasing the postseason