Sir Ian Diamond is stepping down due to health issues, at a time when the ONS faces a crisis of confidence in its work.