Vieira retires to assume new role at Man City