Judge scraps lawsuit against Maine wind moratorium