My strategy was: minimise casualties to kids, people and then pets. If the choice is between equal damage to pedestrians or passengers then pedestrians take precedence. All else being equal don't intervene.
My reasoning about pedestrians is that they didn't sign up for self-driving, the people in the car did.