[Fix #6264] Fix an incorrect autocorrect for `Layout/EmptyLineAfterGuardClause` by koic · Pull Request #6284 · rubocop-hq/rubocop

Fixes #6264. This PR fixes an incorrect auto-correct for Layout/EmptyLineAfterGuardClause cop when if condition is after heredoc. This problem included two problems of auto-correct related to hered...