Plans for 371 new homes and space for the likes of retail or medical facilities on the outskirts of Hartlepool have been withdrawn following more than 600 objections.