Indiana teacher with ‘kill list’ agrees to no-contact order