House OKs defense bill with anti-gay provisions