CompositeException fix for Android

Fixes #1405

- revert changes from f4ae92aa
- remove duplicated causes in stack trace chain