Manchester City will end their two-year pursuit of Ruben Dias after agreeing a club-record £64.3million deal for the Benfica centre-back.