rustdoc: More selectively remove execute links

Closes #14723