madwifi: fix several noderef and ibss merge issues that led to memory leaks and high...