The Scottish government says public sector budgets should not be squeezed to fund UK tax cuts.