Shanaka became the second player in recent weeks to opt out of the PSL for an IPL deal