Valois ousts Randall in R.I. Amateur thriller