Ensure proper line on interpolations inside heredocs, closes #1581