Wan Li, Resolute Reformer and Legislator