Exploring the Impact of Firm-level Legality on Tax Avoidance