US transfers final detainee to Iraqi government