u.s. stocks pare losses as crude, gold turn up