Consistent Estimation of Functions of Data Missing Non-Monotonically and Not at Random