The Appellate Division sided with Jill Mayer, the confirmed nominee to the New Jersey Superior Court, in her fight to keep her pension while serving on the bench.