A Tanzanian inquiry says 518 people were killed in post‑election violence that it found was planned and fuelled by politicians and activists.