librustc: emit loop for expr_repeat instead of 2n instructions in [x, ..n]