[REG2.064] Issue 7782 - [ICE] With wrong import syntax

http://d.puremagic.com/issues/show_bug.cgi?id=7782

Once the bug was fixed in #844, but it has been reopened by https://github.com/D-Programming-Language/dmd/commit/3fb481f3f64731a4be9b012234f0e44421cfe768.