Officer cleared in deadly shooting