The Scottish government says it has been left with “no choice” following cuts by the UK Chancellor.