Prosecutor says police shooting justified in traffic stop