Wavefield extrapolation and amplitude-variation-with-angle migration in highly discontinuous media