Judge in original case should have recused himself after learning his wife owned Cisco stock, U.S. appeals court says.