Adding class levels isn't 1-to-1, but it's close enough. If you just want the barbarian abilities and the rough abilities of the demon, add the abilities like rage et al., but don't add attack bonus or hit points. You get what you want a barbarian demon, but the fight stays roughly equal to what you wanted.