An ice warning is in force for much of the UK as temperatures dropped after a major incident was declared due to flooding.