Sums of distinct elements in finite abelian groups