compiler: Fix Map literals as keys for Maps in patterns