The prime minister warned Britain will go down “a dark path” if Reform UK, the anti-immigration party led by Nigel Farage, comes to power.