Add edge cases for require-line-break-after-variable-assignment

* use end position rather than start of last declaration

Closes: 540