Failure of justice in 2008 crash eroded public trust: inquiry chief