Properly collect labels in put_map instructions in beam_bool

@UlfNorell