An unarmed man fatally shot by a Bay Area Rapid Transit officer on New Year’s Day contributed to the incident by hitting one of the two officers who initially detained him, according to court documents filed by the agency Friday.