Despite both ending up with TikTok staying up in the US, having the ban be unconstitutional or not exist at all is different from having the ban in place and a deal to avoid it. What the ACLU was fighting for would have removed leverage from the government/president.