Stocks open with losses as control of Congress too close to call