Boston lost more than 1,300 residents last year, while Everett and Worcester were the state’s biggest population gainers, ...