Maine moves to protect coastline