Judge agrees town damaged plover habitat, dismisses appeal