The state Senate late Thursday voted to send contentious legislation to the governor’s desk that nudges towns to loosen restrictive zoning policies that proponents say drive up housing prices, keep many affluent suburbs exclusive and Connecticut one of the most segregated states.