That's a real shame! I always think: although it goes against your human reaction and thinking pattern, always crash into the car, don't try to avoid it.
Most heavy crashes come from people trying to avoid a crash, more often hitting something harder than the car (or animal) that got in their way.
And also, in case of insurance, if you're not fully covered and you didn't hit the other car, the insurance will act as if you lost control and all costs are for yourself.