The lawsuit alleges that the IRS’ latest rulemaking exceeds the agencies’ statutory authority and violates the Administrative Procedure Act.