Pretty sure it has to come all the way out, as you need to get the gasket around the gears and the only way to do that is to pull one half completely off. Once you unbolt the cast iron axle tubes the axle shafts pull right out, but in this case you wouldnt have to even remove those, just pull the case apart, install gasket and reinstall.
You could put new seals in everything, but you also take the chance of introducing another leak if you tear a seal or get it in crooked or whatever.