Texas moves closer to passing restrictive voting legislation