BMA Scotland welcomes deal but warns Scottish Government against complacency