Prosecutor: Officer who shot armed motorist was justified