Once ratified, the writers will win protections against artificial intelligence and improvements to new media residuals