✔ What this fixes
The game already enforced age‑appropriate haircuts, but the part that was supposed to block styles banned by an ideology was broken colonists could wear haircuts or tattoos that their belief system forbade without ever noticing.
This small fix makes pawns respect their ideology: if their current look violates their beliefs, they’ll switch automatically to an acceptable style so their appearance matches their culture.