core tetra: unbox scruts when matching against literal patterns