FBI director: Slain Indiana cop did what 'needed to be done'