As DOGE targets spending, 2 state attorneys general groups seek to protect foreign grants