South Carolina fades late as Missouri scrapes out a win