Rigidity for Pólya-Szegö and perimeter inequalities under symmetrisation