The Italian rider won in a last lap duel as his teammate crashed out, finishing ahead of Oliveira and Luthi