A finding of substantial failure with respect to a State may not be made unless and until the State is afforded an opportunity for a hearing.