The city agreed to deannex roughly 445 acres near the Port of Brownsville at SpaceX’s request in exchange for funding for water and wastewater projects.