Jaromir Jagr has agreement to return to Devils