House vacancies leave Democrats with tenuous hold on majority