Creditors of Hearts' major shareholder have agreed to transfer its stake to administrators, boosting the club's survival hopes.