Legislation subject to MPs’ approval but will be backdated due to urgency of threat to UK democracy, says minister