Bar Harbor will demolish ferry terminal after new plan is ma