The British multinational will no longer run immigration detention centres, ending a partnership that has been riddled with claims of violence, drug trade, neglect and understaffing.