The settlement resolved a yearslong dispute between Rodney Hendricks and the state Office of Attorney General.