Plea deal over deadly San Marcos home invasion