Handle prefer and avoid nodes in buildTreeAmb. Fixes Spoofax/710.