Opposition shut out as president's allies win majority of 12 Senate seats in midterm elections, official count shows.