A federal judge on Monday blocked a directive to slash federal research funding to public universities and research centers throughout the country, a plan both the University of Washington and Washington State University say would have far-reaching effects on their programs and likely result in layoffs.