[Fix #516] Fix RedundantReturn auto-correction bug.

Would generate invlid Ruby for return with an implicit array.
Merge pull request #518 from jonas054/fix_redundant_return_bug

[Fix #516] Fix RedundantReturn auto-correction bug.