Cleaned up unit-transfer code when a player dies

* Removed duplicate function TransferUnitsOwnership() in aibrain.lua,
  using SimUtils.lua version instead

* Fixed bug with units not returned to their original owner in Share until death mode.