Officer says shooting justified in wrongful death trial