use you.in_branch(foo) instead of you.branch() == foo

this way, we can get reasonable error messages if an invalid branch is
used

also fix a bug in ice2_lemuel related to this