Triggering a Phase Transition by a Spatially Localized Laser Pulse: Role of Strain