BUG: propagate iterator exceptions in fromiter()

Add tests for various corner cases.