Implemented loa_rehash().
Implemented loa_rehash_safe().
Forgot to free new dict upon error condition in loa_rehash() and friends