The compromise deal would allow the NHS to overspend this year.