The French rider had to battle his way through the field to claim victory in Race 2 in Indonesia after starting 13th