The 2017 incident led to the firing of both officers, one of whom had been with the department for 17 years