Fix redundant begin rubocop offences.