Robust DNN Partitioning and Resource Allocation Under Uncertain Inference Time