The federal judge presiding over the classified documents case of former US President Donald Trump in Florida dismissed the prosecution on Monday.