Southampton har købt midtbanespilleren Ibrahima Diallo, der skifter til den engelske klub fra franske Brest.