US stocks open higher, winning back previous losses