Jorge Martin extended his lead in the championship standings thanks Francesco Bagnaia crashing out.