Justice Department takes legal action against Texas