Edwards makes the most of Espargaro misfortunes