US judge extends block on Trump freeze of federal aid funding