The Texas House of Representatives passed a bill Thursday that places a statewide ban on sanctuary cities and allows state officials to jail police chiefs and sheriffs who refuse to cooperate with federal immigration authorities.