The US decision to withdraw all of its HIV and Aids funding from South Africa is likely to cost lives, the head of the UN's HIV agency has warned.