A panel of five judges in New York’s mid-level Appellate Division said the verdict, which stood to cost the president more than $515 million and rock his real estate empire, was “excessive.”