Fix for incorrect behaviour for ruby block split/join

It fixes following corner cases:

* block without surrounding spaces
* block prepended by `#method?`, `#method!` lambda `->` definition