The British Medical Association and the Government agreed the deal at a meeting on Thursday