State regulators find flaws in federal foreclosure-help program