Texas Democrat takes oath of office, shrinking GOP House majority