Jagr leaves NHL