Wrong order of local type inferences for primary constructor with implicit clause. Fixed part of http://youtrack.jetbrains.com/issue/SCL-5422