The decision is aimed at better performance on state tests and avoiding sexual content found in some of the Bard’s work.