Gujarat wins maiden Ranji Trophy title