Judge upholds termination of former detective who fired fatal shot in Breonna Taylor raid