Sri Lanka withdraws from a UN resolution that would have allowed war crimes allegedly committed during the country's civil war to be investigated.