Small changes to `normalizeStructure` and `SimplifierWithPC#isPureFunction`
Created by: mario-bucev
See discussion https://github.com/epfl-lara/stainless/issues/1350
Created by: mario-bucev
See discussion https://github.com/epfl-lara/stainless/issues/1350