House passed defense bill that includes restrictions for transgender care and abortions