Institut Médico Pédagogique, Institut médical à Somain