Fix off-by-one error Simon pointed out that commit a2bbca9fa5e ("Use std::vector<bool> for agent_expr::reg_mask") caused a regression in libstdc++ debug mode. This was due to an off-by-one error in a vector resize. This patch fixes the problem.