A large deviations approach to asymptotically optimal control of crisscross network in heavy traffic