The agency’s leader says it has identified the problems with its algorithm that have led to a racial disparity in audits of Black taxpayers.