The plainclothes officers said they had opened fire to protect themselves and others from a man who was acting erratically and was armed with a knife, according to a long-awaited report that Gascón released Wednesday.