Valence transition in the extended Anderson lattice model