A new spending bill amendment seeks to block the president’s ability to punish states with which he disagrees