Theory of nuclear fission by stopped pions