House Republicans narrowly pass defense bill loaded with culture war issues