The deal will mean resident doctor pay will be 35.2 per cent higher on average than it was four years ago