The U.S. House approved an annual defense bill despite some opposition over banning Tricare coverage for children seeking transgender care.