Chief of US military favours closing Guantanamo detention facility