Mexico ex-prez gets immunity in massacre suit