Pauline Hanson’s rise has created havoc on the right flank of Australian politics. Arguably more importantly, it is shaping the government’s migration policy.