Purchased 8 3/4 rear I need some help

how best to remove the welding slag from the inside of the bearing hubs?

Welding slag inside the hub? If it is not on the surface where the Race or Bearing goes use a file or dremal tool. You got any pictures of this?? I am curious to see what you are talking about. I don't see how someone could have got slag in there.

Like Fishy is saying. Tap on it with a Chisel or screwdriver.