Halfway through the state government’s fiscal year, threats of federal funding cuts cast a shadow over lawmakers’ tweaks to the budget.