The prime minister says the Coalition and One Nation are chasing each other down a “rabbit hole” over immigration.