Åtalet mot New Yorks korruptionsanklagade borgmästare Eric Adams ska läggas ned, meddelar USA:s justitiedepartement.