Socialist candidates win 12 House seats as Democrats shift left