Almost 2,000 ex-offenders serving indefinite prison sentences outside jail will no longer be subject to a "lifetime licence" as new reforms come into force.