Police-involved shooting ruled justified by prosecutor