This NIC is quite interesting. Assume you had 1,000 before announcement. Had you sold cum, you would have had ksh 39,000 (ignore transactions costs).
Had you hanged on you would have had a dividend of ksh 237.50 (.25*1,000*.95) and a bonus of 100 shares for a total value of ksh 38,188 using the ex-cd ex-b price of ksh 34.50
By selling cum, you would have been ahead by nearly ksh 800.
If you are attached to the stock you would have bought 1,130 shares with your ksh 39,000 - better of by 30 shares.