Ministers warn UK riots will set back efforts to fix justice system