A new policy that required applicants to make supposed anti-"woke" declarations has been struck down.