Trump gets partial victory in NY civil fraud appeal