The House defeated a bill today to ban sex-selective abortion, a controversial measure opposed by President Barack Obama and abortion rights activists.