I'm not sure this would work in a %postun if $1 was 0?  Perhaps this should be a %preun scriptlet, then the above for loop could go into a foreman-selinux-disable script too?