Guieu Rémy, Psychiatre à Dinan