Home News Deal on junior doctor contract 'agreed'