Chelsea midfielder Conor Gallagher agrees to join Atletico Madrid.