Resolve map composite literal keys to constants.