Caltrans can’t close Wood Street encampment without shelter plan, judge orders