The legislation passed amid a chaotic session on Tuesday, sparking fears over its negative impact on women’s rights, judicial integrity, and accountability.