Employee stated that in an attempt to change out a drill chuck on a roof bolt machine he had fouled a wrench on the old chuck and was going to use the drill's rotation to break it free. The employee mistakenly engaged the boom raise lever, instead of the rotation, and pinched his fingers between the wrench and boom.