The UN estimates that 40,000 civilians were killed in the last few months of the fighting as the government launched its final assault on the Tamil Tigers.