For immediate (type b) instruction, adjust patterns to only match values that are in-range.