Modelling the effect of habitat fragmentation on range expansion in a butterfly