A US state’s school system is so bad, a judge has declared the whole thing unconstitutional