Stefan problem with phase relaxation