Technically, from an auto liability perspective, this is still the fault of the vehicle that did the rear ending. Traffic comes to sudden stops all the time, no excuse for not being able to stop for a car stopped in the roadway assuming it had lights on.