The nominee for defense secretary previously said women shouldn't serve in combat but walked that back during the hearing.