KT-4576: (Bug fix) Intention to transform an if an AssertionError throw into an assert

I noticed my intention wasn't behaving correctly on dot qualified calls to assert (kotlin.assert(..))
i made a small change to fix that and added a test

original PR: https://github.com/JetBrains/kotlin/pull/442