Davide Ballerini (Deceuninck-QuickStep) won a second stage on the bounce as his team-mate Julian Alaphilippe crashed in the final kilometre at Tour de la Provence.