That's about the only way to get'm out. I didn't want to put them back in with the stripped heads tho. Allen head screws have to be Mo'Bettah. If you strip it, at least you've got a pre-drilled hole for the easy out.
Unfortunately, mine were pre-stripped for me. Don't know if it was the previous owner or the shop that did the axle swap.
BTW, they have loctite on the threads so make sure you put some on when you replace them.