Texas judge grants exception to state abortion ban