Rossi was able to challenge his team-mate Viñales for the win until the very last lap, but a crash ruined his best race of the season so far