Amazon defenders win bid to stall huge dam project