Understanding your options and legal obligations when your vehicle is declared a write-off after a crash.