The Monegasque was third when he crashed into the wall just as the race restarted after a safety car period