Monterey County and the city of San Jose both passed moratoriums Tuesday on the construction of immigration detention facilities.