removed redundant eltype definitions for darray and sharedarray
Merge pull request #5962 from amitmurthy/amitm/eltype

removed redundant eltype definitions for darray and sharedarray