Shares close mixed, Nvidia's 3% rise offsets debt ceiling jitters