Devastating funding freeze stranded thousands of recently arrived refugees, lawsuit says