The Tasmanian government has committed to end a controversial residential care program based in the Northern Territory following allegations of abuse.