A transgender high school student in Indiana accused of plotting a Valentine’s Day mass shooting has reached a plea deal.