Gravar-mail: Inference for the median residual life function in sequential multiple assignment randomized trials