A model for the quasistatic growth of brittle fractures based on local minimization