Equipment and software oversights on Air Astana Flight 1388 cause a critical malfunction immediately after takeoff, forcing the crew to attempt a series of near-impossible landings.