Modelling inheritance of plastic deformation during migration of phase boundaries using a phase field method