Code cleanups, streamlined code in 'mmgen/addr.py'