Sri Lanka detainees 'to be freed'