Convert iterable of pairs to map, improve generic toMap(mutableMap) function #KT-4166 Fixed