handle stage-(n+1) literals properly by expanding them in the typechecker