Concerns expressed over announcement of end to child detention