The chemical giant plans to appeal the U.S. court ruling as it grapples with legal challenges tied to Monsanto's legacy.