The prime minister is gearing up to blame Nigel Farage and Brexit for Britain’s expected downturn in productivity at November’s budget