Faced with a challenging set of numbers, the chancellor is having to make difficult choices with political consequences.