Almeyrac Olivier, Psychiatre à Montpellier