Noem bars S. Dakota from applying for federal history grants