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