Kerala set for historic Ranji Trophy final after dramatic two-run lead over Gujarat