Texas takes legal action against EPA