Formal talks are to be held in a bid to resolve the long running junior doctors dispute, it has been announced.