Revert workaround for YARD
Revert workaround for YARD

YARD 0.9.21 has been released.
https://rubygems.org/gems/yard/versions/0.9.21

This PR reverts the following workaround code for YARD.

- https://github.com/rubocop-hq/rubocop/pull/7598
- https://github.com/rubocop-hq/rubocop/pull/7558

rrosenblum/rubocop,bbatsov/rubocop,deivid-rodriguez/rubocop,bbatsov/rubocop,rrosenblum/rubocop,tdeo/rubocop,jmks/rubocop,jmks/rubocop,jmks/rubocop,maxjacobson/rubocop,tejasbubane/rubocop,tejasbubane/rubocop,rrosenblum/rubocop,tdeo/rubocop,maxjacobson/rubocop,tdeo/rubocop,maxjacobson/rubocop,deivid-rodriguez/rubocop,tejasbubane/rubocop,deivid-rodriguez/rubocop