New York attorney general investigated 23 Trump properties and assets in case against former president