Remove unused strictlyneedmoduleinfo.