Fix issues with reductions on zero-sized farray

Addresses issue #79
Implement tests for degenerate farrays