Ernould Michel, Médecin légiste à Château-gontier