Assign ::firstNonWhitespace/TrailingWhitespaceIndex in Token::split

Fixes #3277