A court case from 1840 shows how insurance companies have tried for a long time to avoid diminished value liability.