A portrait looted from a Jewish art dealer in WWII will be given back to the owner's heir, after a deal where the daughter of a fugitive Nazi official agreed to drop her claim.