The structure of the beta strength function in heavy nuclei and its influence on β-delayed fission