After three seasons, Raphael Varane will depart Manchester United this summer, the club have confirmed.