Judge rules cutting humanities grants unlawful 1