The nearly 40-year-old pilot had operated a Delhi–Bali flight on Tuesday before experiencing severe discomfort at his hotel