Thousands of job cuts at the NHS will go ahead after the £1bn needed to fund the redundancies was approved by the Treasury.