the executive has broad leeway to spend as it sees fit. i 100% guarantee you that disbursal of funds to grant recipients involves calling on extralegal outside-the-government "experts" making advisory recommendations without direct consultation of congress or the voter.
point is, live by the sword, die by the sword. it's hypocritical to whine about cutting funding by the exact same mechanism that is used to give it out because you dont like the political party of the cutter.
and you can't say "keep politics out of science". because when you're pulling from the public purse, it is inherently political.
there are ways to fund science that are apolitical. HHMI, ACS, ADA, AHA, etc.