Afghan police kill 40 Taliban fighters